{if $store['theme']}
<link rel="stylesheet" type="text/css" href="{baseurl}assets/themes/$store['theme']/style.css">
{/if}
{if $store['css']}
<link rel="stylesheet" type="text/css" href="$store['css']">
{/if}
<div class="container store-header clearfix">
	<div class="store-avatar">
		<img src="$store['avatar']" class="avatar photo-large">
	</div>
	<div class="profile">
		<h2>$store['store_name'] <a class="btn btn-puzz {if $store['user_id']}hide{/if}" href="{url store/approve?storeid=$store['store_id']}"><i class="icon-ok icon-white"></i>{lang store_approve}</a>
		</h2>
		<p>{if $store['store_desc']}$store['store_desc']{else}{lang no_desc}{/if}</p>
		<ul class="profile-details unstyled">
			<li>
				<a href="javascript:void(0);" class="locality">{if $store['province']}{$store['province']}-{$store['city']}{else}{lang earth}{/if} {$store['address']} {$store['phone1']}</a>
			</li> 
		</ul>
	</div>
	<div class="span4 secondary mt20" id="$store['store_id']_store">
		<a class="btn btn-puzz pull-left {if $liked}hide{/if}" id="$store['store_id']_addlikebtn" title="{lang tip_like}" data-action="addLikestore" data-params="$store['store_id']" href="javascript:;" hidefocus=""><i class="icon-heart icon-white"></i>{lang tip_like}</a>
		<a class="btn btn-puzz pull-left {if !$liked}hide{/if}" id="$store['store_id']_removelikebtn" href="javascript:void(0);" data-action="removeLikestore" data-params="$store['store_id']"><i class="icon-heart icon-white"></i>{lang tip_removelike}</a>
		<div class="act-i sarrowright ml10">
			<div class="sarrow"></div>
			<div class="actcontent" id="$store['store_id']_likenum"><em>{$store['total_like']}</em></div>
		</div>
		<a class="btn btn-info ml10" href="{url share/post?storeid=$store['store_id']&storechannel=review}"><i class="icon-edit icon-white"></i> {lang post_review}</a>
		{if $store['isowner']}
		<a class="btn btn-success ml0 mt10" href="{url share/post?storeid=$store['store_id']&storechannel=product}"><i class="icon-edit icon-white"></i> {lang post_product}</a>
		<a class="btn btn-info ml20 mt10" href="{url share/post?storeid=$store['store_id']&storechannel=activity}"><i class="icon-edit icon-white"></i> {lang post_activity}</a>
		{/if}
	</div>
</div>